#include "gtkstylecontextprivate.h"
#include "gtktypebuiltins.h"
#include "gtkwidgetprivate.h"
+#include "gtknative.h"
/**
* SECTION:gtkboxlayout
child != NULL;
child = _gtk_widget_get_next_sibling (child))
{
+ if (GTK_IS_NATIVE (child))
+ continue;
+
if (_gtk_widget_get_visible (child))
{
*visible_children += 1;
int child_min = 0;
int child_nat = 0;
+ if (GTK_IS_NATIVE (child))
+ continue;
+
if (!_gtk_widget_get_visible (child))
continue;
child != NULL;
child = _gtk_widget_get_next_sibling (child))
{
+ if (GTK_IS_NATIVE (child))
+ continue;
+
if (_gtk_widget_get_visible (child))
{
gtk_widget_measure (child,
child != NULL;
child = _gtk_widget_get_next_sibling (child))
{
+ if (GTK_IS_NATIVE (child))
+ continue;
+
/* If widget is not visible, skip it. */
if (!_gtk_widget_get_visible (child))
continue;
gint child_size;
gint spacing;
+ /* Handle native children first, and skip them in everything below */
+ for (child = _gtk_widget_get_first_child (widget);
+ child != NULL;
+ child = _gtk_widget_get_next_sibling (child))
+ {
+ if (GTK_IS_NATIVE (child))
+ gtk_native_check_resize (GTK_NATIVE (child));
+ }
+
count_expand_children (widget, self->orientation, &nvis_children, &nexpand_children);
/* If there is no visible child, simply return. */
child != NULL;
child = _gtk_widget_get_next_sibling (child))
{
+ if (GTK_IS_NATIVE (child))
+ continue;
+
if (!_gtk_widget_get_visible (child))
continue;
child != NULL;
child = _gtk_widget_get_next_sibling (child))
{
+ if (GTK_IS_NATIVE (child))
+ continue;
+
/* If widget is not visible, skip it. */
if (!_gtk_widget_get_visible (child))
continue;
child != NULL;
child = _gtk_widget_get_next_sibling (child))
{
+ if (GTK_IS_NATIVE (child))
+ continue;
+
/* If widget is not visible, skip it. */
if (!_gtk_widget_get_visible (child))
continue;